package com.db.service;

import com.db.pojo.Odreceipt;
import com.db.pojo.StoreOdreceipt;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface OdreceiptService {

    //插入处置单数据
    public int insertOdreceipt(Odreceipt odreceipt);

    //插入处置计划单数据
    public int insertStoreOdreceipt(StoreOdreceipt storeodreceipt);

    //查询处置单数据
    public List listOdreceipt(String startDate,
                              String endDate,
                              String name,
                              String area);

    //查询处置单数据
    public List listStoreOdreceipt(String startDate,
                                   String endDate,
                                   String name,
                                   String area);

    //修改处置单数据
    public int updateOdreceipt(String id,
                               String weight);

    //处置单位列表
    public List listOdunit();

    //处置单位区域列表
    public List listOdarea();

    //查询处置单位
    public Map selectOdunit(String name);


}
